package com.example.demo.repository;

import org.springframework.data.jpa.repository.Query;

import com.example.demo.framework.base.BaseRepository;
import com.example.demo.model.UserLevel;

public interface UserLevelRepository extends BaseRepository<UserLevel, Integer> {

	@Query("from UserLevel u where u.userLevel=?1")
	public UserLevel getByID(int userLevel);
}
